package com.lhdx.practical.service;

import com.lhdx.practical.bean.Fraction;

import java.util.List;

public interface FractionService {
    void save(Fraction fraction);

    List<Fraction> findAllByAuthoridAndGroupidAndSid(long authorid,long groupid,long sid);

    List<Fraction> findAllByPersonidAndGroupidAndMid(long personid,long groupid,long mid);

    void updateTeacherScore(long id,double teacherscore,long sid);

    Fraction findByPersonidAndSidAndAuthorid(long personid,long sid,long authorid);
}
